package com.yunchang.springboot.mapper.mwsreport;

import com.yunchang.springboot.models.mwsreportbean.MwsAllOrderDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 亚马逊api获取all_order表 Mapper 接口
 * </p>
 *
 * @author sjd
 * @since 2020-08-21
 */
public interface IMwsAllOrderMapper extends BaseMapper<MwsAllOrderDO> {
    MwsAllOrderDO getOneInfoByAmazonOrderIdAndSkuAndAsin(@Param("amazonOrderId") String amazonOrderId, @Param("sku") String sku, @Param("asin") String asin, @Param("area") String area);

    String selectSalesChannelBySellerIdAndAmazonOrderId(String sellerId,String orderId);
}
